<template>
	<view class="box">
		<view class="title">
			<view class="box1">
				<view class="top">
					<view class="left">
						北京富力家园1单元101室
					</view>
					<view class="right">
						<view class="success">
							上门中
						</view>
						<!-- <view class="waiting">
							受理中
						</view>
						<view class="finish">
							已完成
						</view>
						<view class="error">
							已取消
						</view> -->
					</view>
				</view>

				<view class="content">
					<view class="project">
						<text>报修项目</text>
						<text>水暖</text>
					</view>
					<view class="time">
						<text>预约时间</text>
						<text>2022/08/13</text>
					</view>
					<view class="number">
						<text>电话号码</text>
						<text>18332566962</text>
					</view>
				</view>
			</view>

		</view>


	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.box {
		width: 100%;
		height: 100%;
		background-color: #FAFAFA;
		display: inline-block;

		.box1 {

			width: 670rpx;
			height: 311rpx;
			background: #ffffff;
			border-radius: 16rpx;
			margin: 40rpx auto;

			.top {
				height: 96rpx;
				border-bottom: 1rpx solid #F2F2F6;
				display: flex;

				.left {
					font-size: 30rpx;
					margin-left: 30rpx;
					margin-top: 25.5rpx;
					color: #333333;
					font-weight: bold;
				}

				.right {
					.success {
						width: 104rpx;
						height: 48rpx;
						background: #ebf8f0;
						font-size: 24rpx;
						color: #27AE60;
						border-radius: 10rpx;
						line-height: 48rpx;
						text-align: center;
						margin-left: 180rpx;
						margin-top: 24rpx;
					}

					.waiting {
						width: 104rpx;
						height: 48rpx;
						background: #e5f0fb;
						font-size: 24rpx;
						color: #2D9CDB;
						border-radius: 10rpx;
						line-height: 48rpx;
						text-align: center;
						margin-left: 180rpx;
						margin-top: 24rpx;
					}

					.finish {
						width: 104rpx;
						height: 48rpx;
						background: #fcf6eb;
						font-size: 24rpx;
						color: #DEAB48;
						border-radius: 10rpx;
						line-height: 48rpx;
						text-align: center;
						margin-left: 180rpx;
						margin-top: 24rpx;
					}

					.error {
						width: 104rpx;
						height: 48rpx;
						background: #f2f2f6;
						font-size: 24rpx;
						color: #979797;
						border-radius: 10rpx;
						line-height: 48rpx;
						text-align: center;
						margin-left: 180rpx;
						margin-top: 24rpx;
					}
				}
			}

			.content {
				display: flex;
				box-sizing: border-box;
				flex-direction: column;
				justify-content: space-around;
				width: 100%;
				padding: 24rpx 30rpx;

				view {
					display: flex;
					justify-content: space-between;
					font-size: 28rpx;
					height: 42rpx;
					margin-bottom: 20rpx;

					text:nth-child(1) {
						color: #C3C3C5;
					}

					text:nth-child(2) {
						color: #686868;
					}
				}
			}
		}
	}
</style>
